package com.dandelion.api.config;

import com.dandelion.common.wx.WxConfigProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Allen on 2016/8/26.
 */
@Configuration
public class WxConfiguration {
    @Bean
    @ConfigurationProperties(prefix = "wx.app")
    public WxConfigProperties wxConfigProperties() {
        return new WxConfigProperties();
    }
}
